﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for ChinaTaipingProposal
/// </summary>
/// 
namespace CE.PersonalAccident
{
    public class ChinaTaipingProposal
    {

        private Int64 _paproposalid;
        private Int64 _paid;
        private Int64 _pacompanyid;
        private Int64 _painsid;
        //private string _salutation;
        private string _name;
        private string _postalcode;
        private string _unitno;
        private string _homeno;
        private string _address;
        private string _gender;
        private string _nricno;
        private string _nationality;
        private string _mobileno;
        private string _homephoneno;
        private string _officephoneno;
        private string _email;
        private string _spousename;
        private string _spousegender;
        private string _spousenricno;
        private bool _hasperformmanual;
        private string _performmanual;
        private bool _hashazadoushobby;
        private string _hazadoushobby;
        private bool _hasphysicaldefects;
        private string _physicaldefects;
        private bool _hasotherinsurance;
        private string _otherinsurancecompany;
        private string _otherinsurancedetails;
        private bool _hasanyclaimsfrominsurer;
        private string _anyclaimsfrominsurer;
        private bool _hasinsurancecancelled;
        private string _insurancecancelleddetails;
        private string _pamenttype;
        private string _bankname;
        private string _chequeno;
        private string _nameofthecard;
        private string _issuingbankname;
        private string _creditcardno;
        private string _cardexpirymonth;
        private string _cardexpiryyear;
        private string _cardtype;

        //common field name
        private Int64 _refceuserid;
        private string _rowguid;
        private Int64 _vieweddetailid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public ChinaTaipingProposal()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 PAProposalId
        {
            get { return _paproposalid; }
            set { _paproposalid = value; }
        }

        public Int64 PAId
        {
            get { return _paid; }
            set { _paid = value; }
        }

        public Int64 PACompanyId
        {
            get { return _pacompanyid; }
            set { _pacompanyid = value; }
        }

        public Int64 PAInsId
        {
            get { return _painsid; }
            set { _painsid = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string PostalCode
        {
            get { return _postalcode; }
            set { _postalcode = value; }
        }

        public string UnitNo
        {
            get { return _unitno; }
            set { _unitno = value; }
        }

        public string HomeNo
        {
            get { return _homeno; }
            set { _homeno = value; }
        }

        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        public string Gender
        {
            get { return _gender; }
            set { _gender = value; }
        }

        public string NRICNo
        {
            get { return _nricno; }
            set { _nricno = value; }
        }

        public string Nationality
        {
            get { return _nationality; }
            set { _nationality = value; }
        }

        public string MobileNo
        {
            get { return _mobileno; }
            set { _mobileno = value; }
        }

        public string HomePhoneNo
        {
            get { return _homephoneno; }
            set { _homephoneno = value; }
        }

        public string OfficePhoneNo
        {
            get { return _officephoneno; }
            set { _officephoneno = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string SpouseName
        {
            get { return _spousename; }
            set { _spousename = value; }
        }

        public string SpouseGender
        {
            get { return _spousegender; }
            set { _spousegender = value; }
        }

        public string SpouseNRICNo
        {
            get { return _spousenricno; }
            set { _spousenricno = value; }
        }

        public bool HasPerformManual
        {
            get { return _hasperformmanual; }
            set { _hasperformmanual = value; }
        }

        public string PerformManual
        {
            get { return _performmanual; }
            set { _performmanual = value; }
        }

        public bool HasHazadousHobby
        {
            get { return _hashazadoushobby; }
            set { _hashazadoushobby = value; }
        }

        public string HazadousHobby
        {
            get { return _hazadoushobby; }
            set { _hazadoushobby = value; }
        }

        public bool HasPhysicalDefects
        {
            get { return _hasphysicaldefects; }
            set { _hasphysicaldefects = value; }
        }

        public string PhysicalDefects
        {
            get { return _physicaldefects; }
            set { _physicaldefects = value; }
        }

        public bool HasOtherInsurance
        {
            get { return _hasotherinsurance; }
            set { _hasotherinsurance = value; }
        }

        public string OtherInsuranceCompany
        {
            get { return _otherinsurancecompany; }
            set { _otherinsurancecompany = value; }
        }

        public string OtherInsuranceDetails
        {
            get { return _otherinsurancedetails; }
            set { _otherinsurancedetails = value; }
        }

        public bool HasAnyClaimsfromInsurer
        {
            get { return _hasanyclaimsfrominsurer; }
            set { _hasanyclaimsfrominsurer = value; }
        }

        public string AnyClaimsfromInsurer
        {
            get { return _anyclaimsfrominsurer; }
            set { _anyclaimsfrominsurer = value; }
        }

        public bool HasInsuranceCancelled
        {
            get { return _hasinsurancecancelled; }
            set { _hasinsurancecancelled = value; }
        }

        public string InsuranceCancelledDetails
        {
            get { return _insurancecancelleddetails; }
            set { _insurancecancelleddetails = value; }
        }

        public string PamentType
        {
            get { return _pamenttype; }
            set { _pamenttype = value; }
        }

        public string BankName
        {
            get { return _bankname; }
            set { _bankname = value; }
        }

        public string ChequeNo
        {
            get { return _chequeno; }
            set { _chequeno = value; }
        }

        public string NameoftheCard
        {
            get { return _nameofthecard; }
            set { _nameofthecard = value; }
        }

        public string IssuingBankName
        {
            get { return _issuingbankname; }
            set { _issuingbankname = value; }
        }

        public string CreditCardNo
        {
            get { return _creditcardno; }
            set { _creditcardno = value; }
        }

        public string CardExpiryMonth
        {
            get { return _cardexpirymonth; }
            set { _cardexpirymonth = value; }
        }

        public string CardExpiryYear
        {
            get { return _cardexpiryyear; }
            set { _cardexpiryyear = value; }
        }

        public string CardType
        {
            get { return _cardtype; }
            set { _cardtype = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public string RowGUID
        {
            get { return _rowguid; }
            set { _rowguid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _paproposalid = 0;
            _paid = 0;
            _pacompanyid = 0;
            _painsid = 0;
            _name = "";
            _postalcode = "";
            _unitno = "";
            _homeno = "";
            _address = "";
            _gender = "";
            _nricno = "";
            _nationality = "";
            _mobileno = "";
            _homephoneno = "";
            _officephoneno = "";
            _email = "";
            _spousename = "";
            _spousegender = "";
            _spousenricno = "";
            _hasperformmanual = false;
            _performmanual = "";
            _hashazadoushobby = false;
            _hazadoushobby = "";
            _hasphysicaldefects = false;
            _physicaldefects = "";
            _hasotherinsurance = false;
            _otherinsurancecompany = "";
            _otherinsurancedetails = "";
            _hasanyclaimsfrominsurer = false;
            _anyclaimsfrominsurer = "";
            _hasinsurancecancelled = false;
            _insurancecancelleddetails = "";
            _pamenttype = "";
            _bankname = "";
            _chequeno = "";
            _nameofthecard = "";
            _issuingbankname = "";
            _creditcardno = "";
            _cardexpirymonth = "";
            _cardexpiryyear = "";
            _cardtype = "";

            //common field name
            _refceuserid = 0;
            _rowguid = "";
            _vieweddetailid = 0;
            _status = false;
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();
        }

    }
}